﻿<UserControl x:Class="Shammateh.Win.UI.Views.MainView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:localControls="clr-namespace:Shammateh.Win.UI.Controls" 
             mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.InputBindings>
        <KeyBinding Command="{Binding RefreshCommand}" Key="F5" />
        <KeyBinding Command="{Binding RefreshAllCommand}" Key="F5" Modifiers="Ctrl" />
    </UserControl.InputBindings>

    <Grid>
        <DockPanel>
            <localControls:MainRibbon DockPanel.Dock="Top" />

            <localControls:MainStatusBar DockPanel.Dock="Bottom" />

            <localControls:MainNavigationPane DockPanel.Dock="Left"
                                        NavigationPaneHeaders="{Binding NavigationPaneHeaders}" />

            <localControls:MainNavigationPaneExpander DockPanel.Dock="Right" />

            <Border BorderBrush="#FFA1A9B3" BorderThickness="1" Background="Transparent">
                <HeaderedContentControl Content="{Binding Path=Workspaces}"
                                ContentTemplate="{StaticResource WorkspacesTemplate}" Style="{StaticResource MainHCCStyle}" />
            </Border>
        </DockPanel>
    </Grid>
</UserControl>